package yns.springboot.security.sample.entity;

import java.io.Serializable;
import yns.springboot.security.sample.base.bean.BaseEntity;

public class UserEntity extends BaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 153306136750914873L;

	private int id;
	
	private String userID;     //用户业务ID
	private String userName;   //用户名
	private String userPwd;    //用户密码
	
	private String departmentName;  //部门名
	private String departmentID;    //部门业务ID 
	private String departmentGroupName;  //部门组名
	private String departmentGroupID;    //部门组业务ID
	private String userGroupName;      //用户组组名
	private String userGroupID;        //用户组业务ID   
	
	private int userType; //用户类型  组织架构比较简单可以直接使用，而不用用户组
	private int roleID;   //角色业务ID
	private int active;   //用户状态  比如激活，锁定等
	
	private String loginTime;        //登录时间
	private String lastLoginTime;    //上次登录时间
	private String loginErrorCount;  //登录错误次数
	
	private String creactTime; 
	private String modifyTime;
	
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserID() {
		return userID;
	}
	public void setUserID(String userID) {
		this.userID = userID;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getDepartmentID() {
		return departmentID;
	}
	public void setDepartmentID(String departmentID) {
		this.departmentID = departmentID;
	}
	public String getDepartmentGroupName() {
		return departmentGroupName;
	}
	public void setDepartmentGroupName(String departmentGroupName) {
		this.departmentGroupName = departmentGroupName;
	}
	public String getDepartmentGroupID() {
		return departmentGroupID;
	}
	public void setDepartmentGroupID(String departmentGroupID) {
		this.departmentGroupID = departmentGroupID;
	}
	public String getUserGroupName() {
		return userGroupName;
	}
	public void setUserGroupName(String userGroupName) {
		this.userGroupName = userGroupName;
	}
	public String getUserGroupID() {
		return userGroupID;
	}
	public void setUserGroupID(String userGroupID) {
		this.userGroupID = userGroupID;
	}
	public int getUserType() {
		return userType;
	}
	public void setUserType(int userType) {
		this.userType = userType;
	}
	public int getRoleID() {
		return roleID;
	}
	public void setRoleID(int roleID) {
		this.roleID = roleID;
	}
	public int getActive() {
		return active;
	}
	public void setActive(int active) {
		this.active = active;
	}
	public String getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(String loginTime) {
		this.loginTime = loginTime;
	}
	public String getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLoginErrorCount() {
		return loginErrorCount;
	}
	public void setLoginErrorCount(String loginErrorCount) {
		this.loginErrorCount = loginErrorCount;
	}
	public String getCreactTime() {
		return creactTime;
	}
	public void setCreactTime(String creactTime) {
		this.creactTime = creactTime;
	}
	public String getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
